//
//  LXCommSearchView.m
//  ZuLinProject
//
//  Created by bancheng on 2021/12/27.
//  Copyright © 2021 LX_App. All rights reserved.
//

#import "LXCommSearchView.h"
#import "LXCommSearchController.h"
@implementation LXCommSearchView

- (void)awakeFromNib{
    [super awakeFromNib];
    
    self.backView.layer.cornerRadius = 3;
    self.backView.layer.masksToBounds = YES;
    [self.searchBtn whenTapped:^{
       
        LXCommSearchController *vc = [[LXCommSearchController alloc] init];
        vc.type = self.type;
        vc.url = self.url;
        [[BaseViewController getCurrentVC].navigationController pushViewController:vc animated:YES];
        
    }];
}

+ (instancetype)shareInstance{
    return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil][0];
}

@end
